package com.tanxi521.springboot.mapper;

import com.tanxi521.springboot.pojo.BanItem;
import com.tanxi521.springboot.pojo.Page;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BanItemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BanItem record);

    int insertSelective(BanItem record);

    BanItem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BanItem record);

    int updateByPrimaryKey(BanItem record);

    List<BanItem> selectBanItemList(Page page);

    int selectBanItemCount();

    int deleteByPrimaryKeyList(List<Integer> ids);
}